refactor command.go,server.go: add raftWrapper as context, totally get rid of reference in command.go