Made the flask_app.py structured so it will work in a development environment