add mediafile model, create mediafiles upon adding new mediadir