How do I separate routes and use route groups?
API
```
import
  happyx,
  ../controllers/UserController

proc includeRoutes*() =
  post "/user/new":
    UserController.createUser()
  
  get "/user/id{userId:int}":
    UserController.getUser(userId)
      
  get "/users":
    UserController.getAllUsers()
```

Main
```
when isMainModule:
  initDb()
  serve settings.host, settings.port:
    includeRoutes()
```
err

```
src\routes\api.nim(6, 3) Error: undeclared identifier: 'post'
candidates (edit distance, scope distance); see '--spellSuggest':
 (2, 4): 'Cont'
 (2, 4): 'Port'
 (2, 4): 'not'
       Tip: 54 messages have been suppressed, use --verbose to show them.
nimble.nim(304)          buildFromDir

```

When I put the routing section in a separate file and refer to it in the main file, the routing section gives me an error, so how do I use happyx routing correctly?