Complete and total rewrite of the configs structure.