setting up some of the interfaces and creating getters and setters on media