Added destructor function to truncate and delete tables