LPS-22792 Simplify. Used more semantic method.
LPS-22792 Move settings management code one new specific class
LPS-22792 Added new tests
LPS-22792 autogen