Added comments in app.py for ease of reference.