change icon, and some calcul and start to create json file to store template data