add message and conversion class

add message and conversion