Initial implementation of io/console