use json config file
rm consts
mv tpl setting to config.json
remove empty dirs