boilerplate for windows service