Add Node class
Update document and processors to use Node class