(wip) Emit an actually working C++ wrapper

I believe that now all I need to do is emit LLVM IR that implements
the three functions that are currently listed as needing
implementation.