Various code samples for MedMedia