moved settings to own class