added repository to services, data model classes and api controllersm, and interface for repository and controller consumption