Add events portlet and supporting code.