refactor the ConfigItem service/controller/bean