testing for the existence of directories
creating windows service