Put cython code in a class