Improve structure wrt installer packages

This PR reorganizes the code-structure of the various components for the installer.

The previous organization was probably organically developed, but didn't have a clear structure or sequence to it (at least imo).
The structure implemented in this PR places the boot-loader and kernel at the top, then the programs and then the libraries (dpkg's Section = libs).
Each component is then placed from which deb file it came from.
Also grouped the creating of directories together and (relatively) at the top.

This PR is only a code restructuring one, no code changes have been applied.