renamed 'videos' route/controller/model to 'media'
added 'type' field to 'media' model