             databaseName = srDefaultDatabaseName
         }
         if !databaseName.hasSuffix("sqlite") {
-            databaseName = databaseName.stringByAppendingPathExtension("sqlite")!
+            databaseName = databaseName.stringByAppendingPathExtension("sqlite")
         }
         return databaseName
     }

    ////// REQUESTS //////
    
    // Create and returns the fetch request
<<<<<<< HEAD
    class func fetchRequest(var inContext context: NSManagedObjectContext?) -> (NSFetchRequest) {
=======
    class func request(var inContext context: NSManagedObjectContext?) -> (fetchRequest: NSFetchRequest) {
>>>>>>> a476f81c80da45ced3d6c960cdabea65d53f3a8e
        if context == nil {
            context = NSManagedObjectContext.defaultContext()
        }

        return request
    }
    

    class func request(fetchedObjects: FetchedObjects, inContext context: NSManagedObjectContext?, filteredBy filter: NSPredicate?, var sortedBy sortDescriptors: [NSSortDescriptor]?) -> (fetchRequest: NSFetchRequest) {
        var fetchRequest: NSFetchRequest = self.request(inContext: context)
        
        // Order
        var revertOrder: Bool = false
