lot's of source code reformatting for better readability
type casting warnings elimination in progress
started to fix windows service stop workflow (still not working as expected)