Settings refactored into base.py