can now handle search requests on root

needs lots of refactoring for scaling...