initial commit
moved XML class to separate file