Move XMLNode/Attribute to its own classes