move settings out of separate class