Create client-side Chat object
Add logic on client side