just tidying up the controller constructor and shutdown function