Added method to retrieve home directory
Added function to get environment string and convert to std::string