Clean up scm helper
More work on the SCM helper. This looks like it is working
Move the Service Control functions to a separate file - first pass