Changed and completed (i hope) the model structure. Generated the NSManagedObject. You have to remove the old app storedata from user/library/application support