we dont need no steenking accessor functions.
fix some typos
remove unused import
remove unused import
remove unused import
yet another refactor of nodes, this time with better tests