Translation Pipeline Integration

Integrated my code fully with giza. Refactored code to conform to giza idioms and to use giza tools. Documented and tested code.
I'm unclear what `i` is doing here.