Integration of XML Loader. Todo: Cleanup if one is already loaded