added ability to get mapper by converting classes