update converter class
use cmake to generate tp_config