Refactoring operations

Gotta pass in a smartling api now instead of just passing api params.
Add all the tests