#1 merged addNodes, addNode to add; addNodeBefore renamed to addBefore; fixes