Changed parser (now parses guard elements), created a new package XMLGenerator in order to generate XML messages