public static void main(String args[]) {
        //TODO if debug: LOGGER.getRootLogger().setLevel((Level) Level.DEBUG);
        if ( args.length > 1 ) {
            System.out.println("The editor takes one argument which is the configuration file.");
            System.out.println("If no configuration file is supplied, or the given configuration file is invalid, the default configuration file (./cookbook.conf) will be used");
        } if ( args.length == 1 ){
            try{
                Configuration.load(new File(args[0]));
            } catch (IOException e){
                System.out.println("Error while reading configuration file '" + args[0] + "'.");
                System.out.println("\t" + e.getMessage());
            }
        } else {
            try{
                Configuration.load(new File("cookbook.conf"));
            } catch (IOException e){
                System.out.println("Error while reading configuration file '" + args[0] + "'.");
                System.out.println("\t" + e.getMessage());
            }
        }
        new Editor().isStandAloneApplication = true;
    }