updated config to use concept of slug to reduce configuration effort and removed unused url