app.py and templates