 {
     var secret:String { get }
     var key:String { get }
-    init?(bundleId:String)
+    init(bundleId:String?)
 }
 public protocol APIConfigurationType
 {

}

public enum MakeSpaceApp: Int, APIConfigurationAuth {
    case clouder
    case rocket
    case photoSpace
    case photoKit
    
    public init?(bundleId:String)
    {
        var n = 0
        while let app = MakeSpaceApp(rawValue: n) {
            if app.bundleID.hasPrefix(bundleId) {
                self.init(rawValue: app.rawValue)
                return
            }
            n += 1
        }
        
        //if we dont find a proper APP, we are defaulting into clouder key/secret
        self.init(rawValue: 0)
    }
    
    public var bundleID: String {

        self.APISecret = auth.secret
    }
    
    public static var current:APIConfiguration {
        return APIConfiguration(type: self.currentConfigurationType,
                                auth: MakeSpaceApp(bundleId: Bundle.main.bundleIdentifier))
    }
    
    public static var currentConfigurationType:APIConfigurationType {
