@Override
    public void run(CommandArgs arg0) {

        String[] args = arg0.getRawArgs().split(" ");

        if (args.length > 1 && args[0].equals("site")) {
            Integer id = Integer.parseInt(args[1]);

            Site site = WebServer.getSiteByID(id);

            if (site == null) {
                System.err.println("No Site with ID " + id);
            } else {
                WebServer.start(site);
            }
        } else {
            if (WebServer.getStatus() == jServe.Core.ServerStatus.Started) {
                System.err.println("Server is already started");
            } else {
                WebServer.logInfo("Server is starting");

                WebServer.start();

                WebServer.logInfo("Server Started");
            }
        }
    }