Initial untested Segment code
More initial layout!