add raft leader election scafolding