getters and setters for pid and working_dir
lets refactor this to instances instead
creating a Settings object
todos