more refactor settings as configuration