Final Deployment.
PostgresConnection modified for Heroku Deployment.
Code added for local use as a comment in order to reverse the process.