xml config and object for config