replaced persistentStoreCoordinator with managedObjectModel in Store init