migrate media import to MediaImportStage class