created an interface for the media service