App updated for Heroku deployment.