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. 
"Vars" sounds like they're a) variable or b) environment variables.

I'd suggest just defining a bunch of constants in os-specific files.

e.g.

const (
   TempDir = "/tmp"
   LibDir = "/var/lib"
   etc
)