Add core data to project.

Implement core data as well as deleting and adding. Not yet fully
functional.