Manage configuration in a block

* Define configuration in a block, not as arguments to the client