class for running calendar events