raft: introduce Node interface
Merge pull request #1093 from jonboulle/node_interface

Create Node Interface