Initial change over to new XNIO aPI