replace use of auto_ptr with a static instance variable to implement the
Singleton pattern for the Settings class.