Prepared server for deployment to heroku