Use a Cache class instead of Sinatra class variables