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.