public static URLClassLoader newClassLoader(String modPath) {
		File dirLibs = new File("libs");
		dirLibs.mkdirs();
		
		List<URL> list = new ArrayList<URL>();
		List<File> lookIn = new ArrayList<File>();
		lookIn.add(dirLibs);
		
		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)")) list.add(check.toURI().toURL());
				} catch (Exception e) {App.getApp().handle(e);}
			}
		}
		
		try {
			list.add(new File(modPath).toURI().toURL());
		} catch (Exception e) {App.getApp().handle(e);}
		return new URLClassLoader(list.toArray(new URL[list.size()]),ModManager.class.getClassLoader());
	}