Replaced sqlite persistent storage to CoreData.