change ClassFinder mechanism to not parse the classpath multiple times