initialize xml_tools in constructor