moved alot of the search functionality to the cursor service