Removed debugging info and moved app.run under __main__ block so we can run the app with gunicorn