More functions on the DBPojo class, added some functional interfaces.