         let proxyBundle = NSBundle(identifier: "com.makeandbuild.WatchCoreDataProxy")
         
         // The managed object model for the application. This property is not optional. It is a fatal error for the application not to be able to find and load its model.
-//        let modelURL = NSBundle.mainBundle().URLForResource("Model", withExtension: "momd")!
         let modelURL = proxyBundle?.URLForResource("Model", withExtension: "momd")!
 
         return NSManagedObjectModel(contentsOfURL: modelURL!)!

public class WatchCoreDataProxy: NSObject {
    
    let sharedAppGroup:String = "group.com.makeandbuild.activitybuilder"
//    let sharedAppGroup:String = ""
    
    public class var sharedInstance : WatchCoreDataProxy {
        struct Static {

    
    public lazy var persistentStoreCoordinator: NSPersistentStoreCoordinator? = {
        // The persistent store coordinator for the application. This implementation creates and return a coordinator, having added the store for the application to it. This property is optional since there are legitimate error conditions that could cause the creation of the store to fail.

        var error: NSError? = nil

        var sharedContainerURL: NSURL? = NSFileManager.defaultManager().containerURLForSecurityApplicationGroupIdentifier(self.sharedAppGroup)
