move setting.json out from lib