We add a new, generic event package that can be used to implement events of different kinds throughout the system. Events are stored with their timestamp as the main lookup key which is ensured to be unique by the API.