First commit of C interface