Migrate project to python3