An implementation of the Data Mapper pattern (object-relational mapper).