Changing ACTION over to using ACTION's segment class.
Initial commit of segment class. Should be a dropin replacement for bregman Segments.