refactor remove raft singleton