Added comments to dbManager