Created NSManagedObject classes and added classes to them