added an interface for the service and a stub implementation