Refactor XML writing scripts
The current version of the XML writing scripts needs to be made more user friendly and thus refactored. One issue is better indexing of the columns from the different data frames. We should use the Paris scenario as an example.