upload-files: create ClassMaterial model