Event system on lib/game, granular firebase transactions