Added raw PHP output and XML output and made neccessary changes to
parser class to enable output of different data types