Added remove functionality for nodes, began detailed commenting