some fix on baseStructure.hpp. some fix on code & interface