added Translator interface and JsonTranslator type
make RunCommand return a ClientReturn
re-implemented tcp listener