Changed db to pg for easier delpoyment to heroku