[WIP] create new indices automatically when a new config is activated by

This pr will create new indices automatically when a new config is activated or deployed by 
* make move-template
* make deploy-config