Tangle -- Input and output

(TODO: Comment on these sections later.)