Adds protobuf runtime dependence
Adds XMsg class implementation