Removed all subclasses of the BaseSegment except for the door, because these are not needed.