Configured various aspects for use of postgres and proper heroku
deployment.