Tools update

Moved tool scripts into src/tool.