Rewritten a check to only start mining once we are caught up with all peers
Refactored RPC client to utils so it can be reused
Make sure we have a coinbase address to mine with
Fix merge conflicts