add swallow controll for cclayer && add servral api for ccs ui.