Change database to postgresql
Prepare for heroku