public ConsoleManager(MaintenanceServer server) {
        this.server = server;

        for (Handler handler : logger.getHandlers()) {
            logger.removeHandler(handler);
        }

        logger.addHandler(new FancyConsoleHandler());

        try {
            this.consoleReader = new ConsoleReader();
        } catch (IOException e) {
            logger.warning("Failed to create the ConsoleReader!");
        }

        System.setOut(new PrintStream(new LoggerOutputStream(Level.INFO), true));
        System.setErr(new PrintStream(new LoggerOutputStream(Level.WARNING), true));
    }