added detect-win service
created win control