Adding Db class