Added local verison of MagicalRecord. Added correct xcdatamodel