tested the isMatch in stack;
changed startPath's code which looks like working.
setup UrlGenerator, NamedRoute in request;
use RequestFactory to reduce code in Request class.