added XMessage.h .cpp

Change-Id: Ic505015053d1bb49f178bf89deb76b0c3316c217