Added a Cache class to make try-catch unnecessary