Dzen/python3 port

This is a first draft for a python3 compatible project