Add Node base class. Add parent to rest of nodes.