media manager add filevalidator, add dependency injection for media manager