Made DB class