Refactor search so that filter building is in a class that is separte from parameter building. Share SimpleProcessor between search and messaging.