added Media superclass for Gram/Vine