add a basic config facility and use it.