Implement destructor
Basic files to test generated files compilation

At least by now.