removed app.py and cleaned up some imports