optimize class loader, throw ClassNotFound ASAP