Implemented xml config generation.