Class framework for DAOs