commented app.py