Update classes.py

mod to settings class