added a basic frontend example for kdtree
rearranged project structure