added media classes and changes to controller

changes to controller are to control list view and file search content.