Initial code for XML parser
Moved to using dom4j XML parsing library
Added dom4j dependency
Fixed compile errors
Fixed compile errors