applicationsettings class cleanup