Add a router for /api/init