Added wrapping functionality for an entire API. Fixed some bugs. Updated documentation and made test suite far more comprehensive.