package this tool

Hello,

Thanks for this tool. It works very well. These changes allow it to be installed into an environment using pip or setuptools.

The `scannertest.py` test script still works exactly as before, as do the example scripts.