implementing libxapi in fab/liblistwise