improving appsettings class