[ADD]Initial commit of migrated xml_template module