Issue #2: C++ API
Issue #2: fix headers
Merge pull request #5 from kpdyer/kpdyer-issue2

Expose C++ API