Added Data Casting feature to xml2metadata module and added copywrite headers to each file