Separated update into message and update
Message is part of networking layer, Update is part of swarm (soon to be
called blockchain) layer and will be handled by it.
Also added transaction and a simple test to transaction.