small refactoring for settings
added another file with sample settings.