Sugaring C APIs

I think the limitations are due to macOS. I ended up linking the lib directly to my Xcode project, and writing a simple wrapper in Swift. No proper module.