Xml Attempt not that succesful.
Stored for posterity
Snippets implemented
Environment dialog implemented