make DB class