refactor command.go: commands do not rely on the etcdStore singleton.