initial c-bindings with example in cexamples