added Procfile for heroku
added process.env.PORT check for heroku
changing local to false
modified db connection to load settings from env variables.