Adding parser and STDIN, STDOUT encode/decode.