improves help output

Switches from Cmd from struct to interface to simplify grouping flags
and namespacing functions.