Implemented Chat

Implemented chat messages in the GUI and the controller.