Update mit_app.py

Added some nice comments.