         }
     }
     
-    //MARK: internal
-    
-    class func createElement(
+    private class func createElementGeneric(
         vitaItem:MVitaItemInElement,
         directory:DVitaItemDirectory,
-        directoryPath:URL,
         database:Database,
         dispatchGroup:DispatchGroup)
     {
-        
-        
-        dispatchGroup.enter()
-        
         database.create
             { (element:DVitaItemElement) in
                 

                dispatchGroup.leave()
        }
    }
}

            
        else
        {
            let error:MError = MError.factoryDataNotFound()
            
            throw error
        }
        
        do
