Add chatmessage class, still have to fix some things