Toscalib

Interim code checkpoint.