Remove hardcoded paths

* added helper functions to return variables for system we are running on
* removed hardcoded paths and socket type