Bug fixes
renamed config files (host doesn't like .config.js files)
code reordered for docs and tidiness