removed app.py from the main app, moved it to the tests