Move Media to common to support using it as a FieldType