added barebones for the postgresql database in heroku and added related settings and posts model