public Main() {
        // Set up topologie View
        //v = new View();
        //v.setVisible(true);
        //v.initNodes(getInitPoints(5));

        // Configure Filters
        lf = new LinkFilter();

        //lf.registerLinkFilter(2, 3, new LinkPlot("Raw"));

        knnc = new KNNControl(lf);
        knnc.setVisible(true);
        Datasource loggin = new Datasource(lf, null);
        //Thread t = new Thread(visualGui = new VisualGuiControl(null, null, loggin));
        //t.start();

        int[] motes = {1,2,3,4,5,6,7};

        for (int i : motes) {
            for (int j = 0; j < 10; j++) {
             loggin.sendConfig(i,50, 31);
            }
            for (int j : motes) {
                if (i != j) {
                    addLink(i, j);
                }
            }
        }
 
        /*
         addLink(7, 6);
         addLink(1, 5);
         addLink(1, 4);
         addLink(1, 2);
         addLink(1, 3);
         addLink(1, 4);
         addLink(1, 6);
         knnc.learn("empty");
         loggin.playRecording(new File("naive-e"));
         knnc.stop();
        
         knnc.learn("standing");
         loggin.playRecording(new File("naive-s-a"));
         knnc.stop();
        
        
         //Datasource loggin = new Datasource(lf,new File("Pentagram-e"));

         //cv = new ConfigView(loggin);
         //cv.setVisible(true);
         //loggin.sendConfig(2,125, 31);
         //loggin.sendConfig(3,125, 31);
         //try{loggin.startRecording(new File("test.log"));} catch (FileNotFoundException e) {e.printStackTrace();}
         //loggin.playRecording(new File("test.log"));
         /*
         mote = new MoteIF(PrintStreamMessenger.err);
         mote.registerListener(new SnoopBCMsg(), this);*/
    }