Move old CoreData stuff to separate project library

Change-Id: Ife903169e3e1c592be6a9096ec8611b32c5fc1a1