Add basic autogeneration of xml