Add main.py and make it runnable