Make into package

Add setup.py, move into package directory (with __main__) and test
directory and ignore build files