Add NodeBase base class for Node, NodeImage, and NodeSize

Add NodeBase base class for Node, NodeImage, and NodeSize to inherit from in order to share the get_uuid function and common attributes.