added a simple ChatTab class