Feature/cffi backend