Refactoring of XMLWriter.cs
- This commit shows up in device spy

- Config files now functional