added media model, need to add plugin model