Added dependencies for postgres
Changed settings to maybe work with heroku