just export a function that returns the controller object