initial chat core commit