Remove hardcoded paths

* added helper functions to return variables for system we are running on
* removed hardcoded paths and socket type

This will allow us to expand to other operating systems without changing too many files. 
NewOsVars will be used later when generating windows specific userdata. It will have to be able to get a parameter and return appropriate variables for that specific OS. This way an agent running on linux will be able to return windows specific paths.