Move to postgres, start on tests, add view