added FFI support (storage/tensor cdata/data + apply + map + map2)