(bug 2288) Move general endpoint to routing.
Merge pull request #475 from anall/feature/bug2288-general

(bug 2288) Move general endpoint to routing.