Started beginnings of general search function