Moved XdmProtocol to a single file; Shared in assets