Refactored ClassMapper and FieldMapper into a single SchemaMapper