Add '#define' at the begining of the document and add destructor
Add destructor