Structure changed. Added an interface and splitted up XML Class and XML Objet