Make some design of the XQL api.