Changed the way CommandInfo is represented.
Removed the Shell interface - it wasn't much of any interface anyway.