Fix another bug in debug view
Refactor search controller and views
Change remove icon
Refactor spinner, rename the spin class to spinner