Simple example of using Core Data on iOS hopefully helpful to someone