deleted storyboard
wrote core data code
got Core Data code to compile without errors