refactoring: move calendar addon code into a single class