A major mode for editing tornado templates