Make Search a class