Move client types to internal modules.

Also expose this module.
Replace `MonadCatchIO-transformers` with `exceptions`.