Added main class and SaveSettings