Adding DB class