public Control() throws IOException {
        InputStream is = new FileInputStream(new File(System.getProperty("user.home"), "nc2.conf"));
        conf.load(is);
        is.close();
        if (!(conf.containsKey(SSH_KEY) && conf.containsKey(KEY_KEY) && conf.containsKey(SCP_KEY) &&
                conf.containsKey(USER_KEY) && conf.containsKey("cluster.default"))) {
            throw new IllegalArgumentException("Missing entries in nc2.conf");
        }
        conf.list(System.out);
        nodes = getNodes("default");
//        System.out.println(Arrays.toString(nodes));
//        conf.list(System.out);
        idx = parseRange("0-*", nodes.length);
        System.out.printf(" NGMF Cluster Control v0.1\n\n");
    }