Wire to chain 

Implemented the foundation to communicate between the network and the local blockchain. Please merge.