Changed to _cwd, _root (private library variables). Added getters and setters, as well as string getters.