This commit adds the ability to store and retrieve events to/from the main event bucket but also their references in the owner's buckets.