Changed all char* to std::string.