public static void main(String[] args) {
        try {

                System.out.println("[ JNanoBoard version: " + VERSION + "]");
            
            RulesManager.getInstance().loadRules(RULES_DIR);      

            config = new Properties();
            try {
              config.load(new FileInputStream(CONFIG_FILE));
            } catch (IOException e) {
                (new File(CONFIG_FILE)).createNewFile();
                e.printStackTrace();
            }            
            
            setLookAndFeel();
            mainFrame = new NBFrame();
            mainFrame.setVisible(true);
            
        } catch (Exception ex) {
            Logger.getLogger(MainClass.class.getName()).log(Level.SEVERE, null, ex);
        }
    }