changed types to enum (e.g. ANTICACHEDB_BERKELEY) and made single AntiCacheBlock constructor