Removed nearest neighbor main class