clean up command line, put it behind an "if name == main"
add setup.py, set it up to install a script