Function out sort function
Refactor events function
Passing cal to weeklyRecurring instead of calling on context