Implemented controller for media selection and a temp store for UI debugging purposes