OSX Example of CoreData's framework MagicalRecord