private ExtendedModInfo examinePathForMod(IDirectory dir) {
		
		String path = dir.getPath();
		
		String modMainFile = findModMainClassFilePath(dir);
		
		if(modMainFile == null) {		
			return null;
		}
		
		if(!dir.exists(modMainFile.replace('.', '/'))) {
			log.err("Directory[" + dir.getPath() + "] does not contain the mod class \"" + modMainFile + "\"!");			
			return null;
		}
		
		log.info("Found modfile \"" + dir.getPath(modMainFile) + "\"");
		
		for(ExtendedModInfo modi : modList) {
			if(modi.getModPath().equals(path)) {
				return modi;
			}
		}
		
		log.info("Was not on the list! Gather information...");

		ClassLoader loader = new TWClassLoader(dir);
		Class<?> plainClass = null;
		Class<? extends IMod> mainModClass = null;
		
		try {
			plainClass = loader.loadClass(modMainFile);
			mainModClass = plainClass.asSubclass(IMod.class);

		} catch (ClassNotFoundException e) {
			log.err("Failed to load mod main class!");
			log.excp(e);
			
			return null;
		
		} catch(ClassCastException e) {
			log.crit("Was able to load mod main class, but main class does not implements the tradewar.api.IMod interface!");
			log.excp(e);
			
			return null;
		}	
		
	//	Constructor<? extends IMod> ctors = mainModClass.getConstructors();
		
			
		return null;
	}