use string/vector container, refactor parser(parser.cpp), I think 70% complete.
add strip-series function for std::string