Initial version of the chat component