refactored SYSTEM commands property to be an object rather than array
and updated CMD and sample to reflect changes.