added some comments to the client code

still a lot more to do