Add preliminary, working XML creation