Refactor MNode and CNode to extend a common base class Node, which handles parsing the XML node description and populating fields.
Rename to use more accurate variable name `nodelist`, and document.