LICENSE, pep8 and pypi improvements

Added MIT License to repo and source code
Improved configuration ready for pypi
Improved PEP8 compliance