Created service.h for runAsAService template.