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.
unclear how this is getting written to files.