Added gem pg, made other related changes, see heroku docs