Added main.py and remove circular calls between views.py and app.py