WIP: refactoring copytrans and get translation memory service