Added comments to client.

Went through and added comments to functions that were not commented.
They are a little vague, change em if you want.