updated config mechanism

Working on moving all configuration data or shared config state
to the config folder. This makes it easier to keep things straight
without having to update all the files