use getter/setters for config (have to be clever to pick up defaults from mode)