Implement CoreData in Controller