Added a test file, similar to the one in the Python library, moved commonly used code to a new Utils file.
Started a lot of the documentation and changed a lot of exception handling.
The library is in a non-working state with this commit—the LeafInputStream class needs to be turned into a ByteStream class.
Finished up the library. Should be ready for use now!