integrating libxapi into liblistwise