Create central place to hold state and move setup there