[ISSUE #7]Fix virtual destructor in model classes