Improve router and add http request handler
Merge branch 'raysmond'