add ChatClient and ChatServer