Change DBOject

Change parent class to make destructor and delete methods public.