Added xml parsing
Added template integration