added non-heroku postgres support for local testing