use Core Data to persist gps locations in iOS