add default type for scanner
add conversion for std::string
and mechanism for creating a buffer from std::string
add manage class
add formatting function for build_base