Added Db class