[DO NOT MERGE] Cache

I'm playing with the cache this time.
At first I used arrays, now I used classes.

Which one do you like more? :bowtie: