Updated app as flask heroku app.