Updated controller to a static singleton.