Add base.html and clean up url paths based on url mapping name.