Final draft app.py

Testing app.py as a whole.