Placed app.run inside a  because http://stackoverflow.com/questions/16020749/heroku-app-runs-locally-but-gets-h12-timeout-error-uses-a-package