looping and setting app config
returning config object
returning config object called settings