Initial translate client code (WIP)