Passing same plugin instance to API controllers. Also renamed 'network_manager' to 'plugin' in API controllers.