Updated document to class structure and formatting to PEP-8.  Tests & examples broken.