Broke main.py into modules.