public static void loadModules() {
		try {
			File f = new File("mods.config");
			if (!f.exists())
				f.createNewFile();
			Scanner scan = new Scanner(f);
			while (scan.hasNext()) {
				String s = scan.nextLine();
				try {
					Object ob = Class.forName(s).newInstance();
					modules.add((Module) ob);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
			boolean b = false;
			for (Module m : modules)
				if (m instanceof ModuleHeight)
					b = true;
			if (!b)
				modules.add(new ModuleHeight());

		} catch (Exception e) {
			e.printStackTrace();
		}
	}