Massive refactor for a minimum viable option.

There are a few caveats with using configuration at certain points in time.