Added testing and primitve logging to the MainReactor