Moved the node operators to the node object. It adds slightly higher memory consumption but the code should be easier to read and maintain.