Implemented a basic Search API