Added the C API header and a code example of how to use it