WinService Project refactored