Changed the structure of block_t and cache_t.