first pass at refactor search and ws_actions.

goal is that search is just a front end and select 2 manager. WS_actions takes care of all the dynamic commands and actions.