Moved config to json