Usings cleanup.
Usings cleanup
Use delegate instead of Action in CommandProcessor.
Added HandlerRegistry for storing handlers indexed by keys.
Replaced Dictionary with HandlerRegistry in CommandProcessor.
Replaced Dictionary with HandlerRegistry in QueryProcessor.