Started the basics of the search function