Using pg instead of sqlite3 since Heroku doesn't support sqlite3