Added caching for events. Updates on addEvent. Cache expires in 10 minutes