Added some comments
Added xml parser