adding directory parameter in NSManagedObjectModel category