         return path
     }
     
+    //MARK: internal
+    
+    class func factoryRoot(bundle:Bundle?) -> String
+    {
+        let useBundle:Bundle
+        
+        if let bundle:Bundle = bundle
+        {
+            useBundle = bundle
+        }
+        else
+        {
+            useBundle = Bundle.main
+        }
+        
+        let path:String = pathFromBundle(bundle:useBundle)
+        
+        return path
+    }
+    
     func modelPath(model:MFirebaseDProtocol) -> String
     {
         var path:String = root
-        path.append(MFirebaseDManager.kSlash)
+        path.append(MFirebaseDatabase.kSlash)
         path.append(model.path)
         
         return path

    private static let kDot:String = "."
    private static let kEmptyString:String = ""
    
    //MARK: internal
    
    class func factoryRoot(bundle:Bundle?) -> String
    {
        let useBundle:Bundle
        
        if let bundle:Bundle = bundle
        {
            useBundle = bundle
        }
        else
        {
            useBundle = Bundle.main
        }
        
        guard
            
            let rawPath:String = useBundle.bundleIdentifier
            
        else
        {

        
        if let parent:MFirebaseDProtocol = parent
        {
            path.append(MFirebaseDatabase.kSlash)
            path.append(parent.path)
        }
        
        if let identifier:String = identifier
        {
            path.append(MFirebaseDatabase.kSlash)
            path.append(identifier)
        }
        
