Merged kernel.yml and parameters.yml and simplified some of the bootup process.

This includes moving legacy handling to more obvious places.