Added new stage, completed bootloader code for now