This codebase is rapidly getting to the point it's going to need modules and a package. Let's move some logically related code for that purpose.
__pycache__