Added __descruct() function to DBDAO