Clean up build system in relation to config files.
More work on build scripts
Finish review of boot scripts.
Add docs and comments