add events module code to codebase
manually build