         else {
             SugarRecord.handle(error)
         }
-        
         self.persistentStore = store!
     }
     
-    public func createPathIfNecessary(forFilePath filePath:NSURL) {
+    /**
+    Creates a path if necessary in a given route
+    
+    :param: filePath NSURL with the whose folder is going to be created
+    */
+    public func createPathIfNecessary(forFilePath filePath:NSURL)
+    {
         let fileManager: NSFileManager = NSFileManager.defaultManager()
         let path: NSURL = filePath.URLByDeletingLastPathComponent!
         var error: NSError?

        return sqliteOptions
    }
    
    private class func defaultStoreOptions() -> [NSObject: AnyObject] {
        var sqliteOptions: [String: String] = [String: String] ()
        sqliteOptions["WAL"] = "journal_mode"
        var options: [NSObject: AnyObject] = [NSObject: AnyObject] ()

        }
    }
    
    /**
    Returns the automigration options to be used when the NSPersistentStore is initialized
    
    :returns: [NSObject: AnyObject] with the options
    */
    private class func autoMigrateStoreOptions() -> [NSObject: AnyObject]
    {
        var sqliteOptions: [String: String] = [String: String] ()
        sqliteOptions["WAL"] = "journal_mode"
        var options: [NSObject: AnyObject] = [NSObject: AnyObject] ()
