What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:

/kind feature

What does this PR do / why do we need it:
This feature will convert the existing python ops to use the new cpp API. The existing python logic are now replicated in the C layer, so most of these logic can be removed from the python layer.

Which issue(s) this PR fixes:

Fixes # Need to open one later

Special notes for your reviewers:
This is work in progress