added DB class to check read databasee.