add url rewritting

add pom dependency
add configuration provider