android: moved media code to own manager class