Added Chat class with char messaging functionality