Extract setting configurator to utility class
Add folding doc and multiline comments