Refactored client.

Now the store API part is splitted into its own facette
matching the store interface.