Rationalize code layout
Add Python3 compatibility
Add Python3 compatibility to other utils
Merge pull request #1 from rbarrois/py3

Add Python3 compatibility