Improve class loader to class scanner, optimize class scanner