config-tool: system xml generation, not finished yet