Figure 8:
Classes for database access.