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

history item refactoring mostly done.