add json file and basic ctrl