Settings factory and settings controller