virtual destructor added to CBase and removed iterator from Collision