update readme, add setup.py and move code into a package