raft: move all unstable stuff into one struct for future cleanup