Added Chat class that talks to the Server