Used UIManagedDocument for getting context instead of Core Data stack, added class for field metadata SPRField