turn app into flask app to serve static index.html on heroku