Add a feature to convert string line to unit, removed unused class distance and update README