Got the first version of the search functionality to work