kdtree and display framework added