Code translation and README revision