Add events support to calculator demo.
Add operations implementation