init XHMessage model class