Optimizer

Fixing up a few things... need to code the layer 0 sender code and then
work on the receiver side.