Fixed undeifned inedicies when routing to content/tool/index
Refactored HTML