Adds tests, classes and refactors.

- Quadtree2Node added for node representation
- Quadtree2Helper does all the validation