move some config to config.json