add events to community version; add events api