Add singlenode in tools
SingleNode finished.

It seems like 'singlenode.py' has been migrated without errors.