Make emulator read commands.
Add output.