Start working on a client library implementation.

So far, this code is not tested and only implements storing new blocks,
but more implementations are to follow.
Add a reader client implementation.