Port to python3
Make it py2 compatible
Merge pull request #1 from castlabs/master

Port to python3. Merge pull request #1 from castlabs/master