I see that most of the code is in C++ and not C. How difficult would it be to expose a plain C api / lib do you think?