Added a controller to be used from the UI.