Block chain Explained: architecture, security and applications