add xml config and helper