Introduce a base type for resource classes.
Resurrect the DAO package.