Restructure the firmware directory into separate sub-directories