Added a node interface, and started fleshing out some tests for it.