Made Cache a static class.

Cache is never instantiated and contains only static variables and member functions. Made it a static class.