clean up app.py