         self.storeName = storeName
     }
     
-    // MARK: - CoreData stack
+    // MARK: - Core Data stack
     
     lazy var applicationDocumentsDirectory: NSURL = {
         let urls = NSFileManager.defaultManager().URLsForDirectory(.DocumentDirectory, inDomains: .UserDomainMask)

}

public func managedObjectContext() -> NSManagedObjectContext? {
    return Driver.sharedInstance.managedObjectContext
}

// MARK: - Active Record

    
    private func read(entityName: String, predicate: NSPredicate? = nil, context: NSManagedObjectContext? = nil) -> [AnyObject]? {
        var results: [AnyObject]? = nil
        if let moc = (context != nil ? context! : self.defaultManagedObjectContext) {
            var error: NSError? = nil
            var request = NSFetchRequest(entityName: entityName)
            if predicate != nil {
