Aded and implemented the Settings class.