move to postgres, fix up a couple github things