gets routes
Merge https://github.com/lromang/CoreNetwork