createService

Creates a service.