Move xml interpretation out of the CLevel class and into it's own namespace