add xml config file parser used expat lib.