Changing definitions so that they can be overridden.
Fix backend repo, so it can be embedded into other projects.
Fix spurious console output on config.js