switched to pg
added links to posts on index
ready for heroku