Move development mode switch into kernel.yml

This stops the conflict of two parameters
Move more settings over to yml
Remove unused classes.
Moved more params to yaml