added file for object destruction implementation and virtual destructors