DB class encapsulates database name