chat server init
comments
write message
get channels
open connection
fix minor bug
delete unuseful tuple