Added code to create and start the service