Do not strip extra space from comment
Call class_to_xml from struct_to_xml

C++ structs are like classes
Remove unused import
Added method
Make constructor inherit from method
Added destructor
Separate methods and functions
Added destructor in groups
Added method and destructor to setup.py