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

fixing imports and casting types.