Create class with separeted group of functions. And keep them in one file
In the file that calls the main function, just keep the data pipeline (calling the functions from another file)
Organize folders structure and separate files inside them
Organize a file with constants that will be used among the files. Example, a constant with targets (here the build indicators folder will use it and the build models too and build scores).