add ability to setup router priority via config
add request listener to setup request type in request attribue
set parameter from config
refactor router

prevent matching subrequest and already matched route
prevent checking empty route
prevent unnececery generator call
throw exepiton if there is no node for url
pass node to controller