Updated the boot file to use more functions and have a cleaner layout, as well as further documentation