 import UIKit
+import FirebaseDatabase
 
 class MPhotos
 {

        NotificationCenter.default.post(
            name:Notification.photosLoaded,
            object:nil)
    }
    
    private func asyncCleanResources()

    private(set) var albumReferences:[MPhotosItemReference]
    private(set) var photos:[PhotoId:MPhotosItemPhoto]
    private var loading:Bool
    private let kZero:Int = 0
    
    private init()
    {
