API: default values for flags.
Controller: added cache for message handling methods.
Controller: cli enhancements.