Final Deployment.
PostgresConnection modified for Heroku Deployment.