registered endpoint for download of the xml file.
also made the filename and the root element of the xml configurable.