extract and rename Loader; preload all builtin structure when testing