Add DELETE and tests.

Also move Node class to lib