initial core data commit
bug fix for core data
coredata support