minor changes, leader election modularization too complicated... leaving it in raft