class "Settings": converted to Python 3