Added comments to the Db class