Add a history provider with CoreData support