modification to tools controller, form partial and index
fixed tools controller