change ids to an object
remove extends function
add some tests
flesh out quadtree functions and coarsen
add more tests
add html for tests