Create event source

Add the ability to create an event source.