optimize the structure of the xml file
using DOM to parse the xml file
add dummy entity of virtual destructor function.