search functionality

search functionality + added cache faciity