Add basic I/O code for n8vem console