New class encapsulating the service functionality