WIP: Use ms to api.go, implement ReadDeployments