Added params to constructor and overloaded all transloc calls to use instance vars.