improved database settings class