BEGIN working on bridge code

Stopped with this not completed, but mostly there. Need to fix some
references.