base.py settings re-organized