added basic core data support
added delete functionality