Added Media resource class