Initial upload Segment.java