Added app.py in main and index.html in templates