Added code and files necessary for actual XML support