Created the chat system, added changes to json and server