better wording for relationship type argument
Added source map support for testing and rewrote getNode and removeNode methods