code: public static void main(String[] args) {
  		PrintStream out = System.out;
  		if (args.length > 0) {
  			try {
  				out = new PrintStream(new File(args[0]));
  			} catch (FileNotFoundException e) {
  				System.out.printf(ERR_FILE, args[0]);
  			}
  		}
  		MBeanScanner mBeanScanner = new MBeanScanner();
  		List<Config> configs = mBeanScanner.scan();
  		ConfigWriter cw;
  		cw = new ConfigWriter(out, configs);
  		cw.write();
  	}
docs: Used mainly for testing purposed to output a test configuration file to
  System.out. Also shows how to use this class.
  
  @param args