Reorganize python and scala versions