Added Unit class and its component MovingAlgorightm