raft: add Configure

Configuration change
can we move this logic to node?