Added popular and user recent media
Refactored mediaAPI