Updated parser

Updated both XML and SQL parser classes for new input file
categorylinks.sql