The sample currently uses configuration in code to simplify the experience of building and deploying the solution. For a production system this is obviously not scalable as you mention. One solution here would be to use the serial interface to collect this information, and then store this in flash which would then be retrieved at boot time.
We currently don't have a good working sample to show demonstrate this.
Thanks