Added route parameters to config & improved configuration