Initial import of the original xml management pack code