Added cpp functions to our Media family ofclasses

I'm not too sure if what I did was correct, but I tried following
Zander's notes. Please look over it and tell me what you guys think.