Adding a model for the query cache and providing the behavior necessary to assemble data for Cat III export