added entity classes for ImportedMetadata and PhotoMetadata