Refactor: extract C bindings to separate module.
Refactor: extract separate module for C API methods.