Updated the PG driver to take all of the database config from the configuration files. It was hard coded to localhost and port 5432.