still more refactor settings as configuration