Split the Magical cache into it's own header file so that it can be used elsewhere