nesting all routes into /api