slight cleanup of bootloader code adding a separate header file