Added constructor to the settings class