restructure "bootloader" module