Create setup.py and move script to a module.