Python 3 fork - basic conversions

Not all tests are working by now