change the database to postgresql, setup spork and guard