moved data structure for media list to it's own class, and changed from ArrayList to HashMap