Building the service