Switched to DOMDocument for XML generation
Config Objects for Factories