Adding xml generation support and codemirror editor