structure of function, structure to add flysystem driver