More refactoring: search and views
Move windows components around, move files to config package
More refactoring