move cython depend classes to its own .pxi
match cython function names to existing python client API