created searcher class.