Added forgotten QuadTree library
Expanded map functions to include quadtree support
Refactoring to use prototype classing.
Renamed Map to Topology since Map clashed with reserved function name