Some modifications for uploading to PyPI, to setup.py and to .gitignore