Swift Core Data stack and NSManagedObject subclass