add SegmentCache class
add ignore for Windows executable