-add readData for std::string
-add writeData for std::string
-change some return to std::string
-fix some configs