Porting to component architecture of "Calendar" plugin