Restructured code in java/python paths