WIP: start fleshing out an FFI provider