New command structure added to program (a more readily extensible one).
updated to incorporate extensible command structures.