added class ServerConsole.