Working on the ChatServer class