move mode to xml_mode
add tcpros_parser.h and .c