Added comments and exceptions

The Client will now throw an exception upon each bad request