Create the classloader closer to where it's used