Change license to MIT, some other small changes in docstrings and so on.