The API was a bit confusing with code mixing the usage of Deployment and DeploymentState. This change marks a clear separation: - Client is the only piece of code manipulating *Deployment - CLI commands can manipulate DeploymentState objects and pass them to Client Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>