Add RAFT endpoints and fix cluster init bugs

Perhaps. This is a straight copy from the existing code. If we do remove it, we need to make the error message more helpful when it is not supplied. Currently it's
```
config: open : no such file or directory
```
which isn't great.