refactoring settings
refactoring settings (not complete), save/load functions were changed to static