[refactor] Separate index template from sense template