format: melt all class about card into a file