Started adding some rust ffi stuff