Move classes in nodes.pp into separate modules.