Adding DB class.