Refactor methods, add assertions
Refactored appointment group initialization
#74: Set colour of task in calendarView to be the priority colour