added more core data functionality
Merge pull request #4 from gatropino/coreData2

added more core data functionality