Add StdinReader class, allow standard input.