refactor. combine url/route into route
add params in controller. now only support params in request url.