Intial boilerplate for event dispatcher