removes sort key attribute from widgets and optimizes the location of widget files

+ minor cleanup on search_page generator, which created its controller and views in the main application