Add RAFT endpoints and fix cluster init bugs