[laowei] add core code