Add total rework of how the events / json config file works.