created searcher class