add search class and controller