schema and model classes