Created a service abstraction