Add the main xywyt code