internal/router: add comments and TODOs