Add documentation to Client

Also setup doctest for Client