Refactored & Developed SegmentRoute