implimentation of mediamanager service