client.py: Modified for better error handling
__init__.py: Extended documentation(fixes #23)