Moving the config to an external file.

This makes upgrades much less problematic.