moving build process from RaftConsensus to RaftMonitor