MainSettings class