Processing pipeline from research branch

Copied initial processing pipeline from research branch; up to ODF
Ready for linking of line segments
Ready for tracing of line segments