Create Node Interface

to facilitate other pkg's testing.
#1081 
It is consistent with `raftLog`. Do you have another suggestion?