App layout and SegmentPrototype model