added core data and NSFetchResultController