Added some comments to app.py