Adds the initial event sourcing infrastructure. Adds the initial tests for events.