Add ResourceMetadata & ResourceId classes