Add support for applications that already write to stdout
Update readme
Move cli script into own file