class_to_struct: Added comments. Cleaned up the code a bit. Also, added classname parameter to classes being converted to provide the original class they were before being converted to a struct.