Refactor Publish and Remove into CloudServiceClient