Added more comments to xbee code.