Stroke records last segment, StrokeSegment takes a type in its constructor
Added framework for discrete tools
Finished NodeSpawner tool