Refectored the ISettings usage to allow better support for the voodoo of mongo.