Refactored searches controller to use one instance variable.
Refactored listscontroller to use one instance variable.