Add new command structure
Correctly execute device commands
Correctly avoid labelling 'work' as a command
Merge pull request #221 from hybridgroup/add/commands

Add New Command Structure