Add input listener, pseudo KWIC logic and output format