Removal of Chat 2

Centralization of the code into the chat server