add tdiary-core, referer #235