[dev] start add template support