Add versioneer stuff to setup.py
Make the module a package
Split out main loop into __main__.py