Console Input Emulator

Signed-off-by: Kirill Zotkin <kirillzotkin@gmail.com>