added new simpleTool.js to handle the boilerplate tool stuff and updated pan to use it