Added Functionality to the AddEvent method

The addEvent method functionality is only temporary and is mainly a
proof of concept.