Create media.py

the media class