finish cli client for chat
add config to chat