Lightweight infrastructure for doing eventsourcing using aggregates