Added service and code for starting and binding to the service.