 
 public class CidsConnector {
     
-    
+    // MARK: - fill simulator value
     #if arch(i386) || arch(x86_64)
     let simulator=true
     #else
     let simulator=false
     #endif
     
+    
+    // MARK: SHARED INSTANCE
+    static var instance: CidsConnector!
+    class func sharedInstance() -> CidsConnector {
+        self.instance = (self.instance ?? CidsConnector())
+        return self.instance
+    }
+
+    
+    
+    // MARK: - Values with custom getters and setters
     var tlsEnabled=false {
         didSet {
             NSUserDefaults.standardUserDefaults().setObject(tlsEnabled, forKey: "tlsEnabled")

        sop.enqueue()
        
    }
    
   

    func getVeranlassungByNummer(vnr:String, handler: (veranlassung:Veranlassung?) -> ()) {
        assert(loggedIn)


        sop.enqueue()
        
    }
    func executeSimpleServerAction(actionName actionName: String!, params: ActionParameterContainer, handler: (success:Bool) -> ()) {
        assert(loggedIn)
        
