Configured the application to work on Heroku