added MIT license to all python-source-files
made everything pep8 compliant