client: hook up the database with the models