Create the code cache mechanism