Rename addMessage to addMsg
Rename getSide to getType in MsgComp
Remove unnecessary code