No duplicate records storing.
DB class encapsulates database functionality.