changed db to postgres, closes #199