Add API and router injector