Added Raft implementation