For 1. you need to configure your RestKit / Core Data stack
NSManagedObjectModel *managedObjectModel = [NSManagedObjectModel mergedModelFromBundles:nil];
RKManagedObjectStore *managedObjectStore = [[RKManagedObjectStore alloc] initWithManagedObjectModel:managedObjectModel];
self.managedObjectStore = managedObjectStore;
[RKManagedObjectStore setDefaultStore:managedObjectStore];
// complete the core data stack setup
[managedObjectStore createPersistentStoreCoordinator];
For 2. you can use
[map addAttributeMappingsFromArray:@[
@"id",
@"name",
@"type",
];
Technically you could use some introspection on the entity but you'd write a lot more code.