refactor class search and banner