code: private Element writeModule() {
          Element element = doc.createElement("module");
          rootElement.appendChild(element);
          return element;
      }
docs: Wrires any module (generates element).
  
  @return element to write data to