fetchObjectWithEntityName:predicate: refactor
added coredata headers