refactoring Mediacollectionbundle