Rearrange imports
Fix Python 3 errors
Bump to version at least as found in PyPI