added core data methods and core data helper class, getting 'undeclared selector NSManagedObjectContext' error and crash for some reason..