model classes and service skeleton