full working copy.

It still needs some work linking some of the input and outputs.