Implemented basic support for Windows services