inital raft server code