add controller_hooks, a proxy for calls from the controller to the application