Broke controller up into service for settings