Rework DirectLink to TmsMediaUpload, to get a Media usage without a Doctrine dependency