Added initial search functionality.