Added XML stuff. Definitely not finished, is just an initial commit of
it