using shard_ptr's for all WiflyControlCmd's to avoid memory leaks