Added XML Parser from main