pass data array which contains the name value pairs to be used for params
completed router with smart selection (best route is chosen based on data type of the url param)