Added some app.py stuff. Running into bugs though