Began the initial peer discovery and sync logic.

Need to work out how the nodes are going to actually communicate with
each other, and then need to work out the configuration api, and client.
Also need to figure out authentication.