Clean up main.py