restructure mapping methods, move all mapping to DTCellFactory.