Added XAgent skeleton