CC-5450 : Refactor Media Management (Classes/DB) in Airtime

putting in proper paging for media tables