First we are creating a new registry called download_function
The function is created with a decorator
The function itself is wrapped to return the main function of interest, because we want our project.data.download object to be a callable function and not some static variable.