Adding XMAC source code