public void run() {
		Mod.config = new Config();
		try {
			Mod.config.load(new File("mods.cfg"));
		} catch (Exception e) {App.getApp().handle(e);}
		
		File dirMods = new File("mods");
		dirMods.mkdirs();
		
		List<File> lookIn = new ArrayList<File>();
		lookIn.add(dirMods);
		while (!lookIn.isEmpty()) {
			File check = lookIn.remove(0);
			if (check.isDirectory()) {
				if (check.getName().matches("\\.{1,2}")) continue;
				for (File file : check.listFiles()) lookIn.add(file);
			} else {
				try {
					if (check.getName().matches(".+\\.(?:zip|jar)")) resourceManager.add(check.getPath());
				} catch (Exception e) {App.getApp().handle(e);}
			}
		}
	}