Created basic search funtionality