Changed local db to postgres and configured app to deploy to heroku