added a DB class