Added comments on emulator args
Read commands from java byte by byte