Add appIntance reference for controller and action, appInstance will contain only common  methods