main_internals.py renamed to main.py