refactor(router): clean up addRoute method; extract functionality to other methods
refactor(router): clean up addRoute method; extract functionality to other methods

miter-framework/miter,miter-framework/miter