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. 
Another approach would be to have two versions of the NewOsVars function in system-specific files,
say osvars_linux.go and osvars_windows.go. Then you would not need to select on OS at all.