Client api run

Now makes copy of cmd argument passed into .run so that changes inside run do not affect the original cmd object.

Removed all references to cloud api as we are now using the runner.cloud for the cloud api