rename quorum.go to state.go