Create main.py

overall structure